package com.jyy.prefabricated.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @version 1.0.0
 * @author: zjj
 */
@Data
public class StudentExamQuestionVo {

    private Integer id;

    //题目id
    private Integer questionId;

    //正确率
    private double accuracy;

    /**
     * 答案解析
     */
    private String answerKey;

    //题目类型
    private Integer questionType;

    private Integer areaId;

    //是否正确
    private Boolean ifRight;

    //题目内容
    private String title;

    //题干内容
    private String content;

    //题目选项
    private List<ExamQuestionOptionVo> options = new ArrayList<>();

    //学生答案（单选、多选、判断）
    private String answer;

    //标准答案（单选、多选、判断）
    private String standardAnswer;

    //题目顺序
    private Integer sort;

    private Integer studentExamId;
    private Double score;
    private String material;

    private Integer materialQuestionId;
    //标准判断题答案
    private Boolean judgmentAnswer;
    //标准问答题、填空题答案
    private String questionAnswer;

    /**
     * 学生答案（问答题、填空题）
     */
    private String subjectiveAnswer;

    /**
     * 评阅得分
     */
    private Double subjectiveScore;


    //材料题子题集合
    private List<StudentExamQuestionVo> studentExamQuestionVo;


    //填空题下划线个数（答案个数）
    private Integer answerCount = 1;

    //供前端使用
    private List<Integer> multipleList = new ArrayList<>();

}
